<template>
  <div>
    <div class="item-text" v-for="(item, index) in list" :key="index">
      {{ item }}
    </div>
  </div>
</template>

<script>
export default {
  name: 'List',
  props: {
    list: Array
  }
}
</script>

<style lang="less" scoped>
.item-text {
  padding: 8px 0;
  border-bottom: 1px dashed #ededed;
}
</style>
